//
//  CGRect.swift
//  CooperSwift
//
//  Created by 计海峰 on 2021/12/10.
//

import Foundation

public extension CGRect {
    
    func isZero() -> Bool {
        return self.x == 0.0 && self.y == 0 && self.width == 0.0 && self.height == 0.0
    }
    
}
